From be188d211d26afd872a43843563bfbe3923d5af9 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Tue, 7 Oct 2014 12:02:08 +0100 Subject: [PATCH] tools/xenstore: Introduce clients-install target ...to match the existing 'clients' built target. This is particularly useful when rebuilding the xenstore clients separately for a non-dom0 environment. Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell --- tools/xenstore/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 563abd486f..cb4ab427f5 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -150,6 +150,14 @@ endif ln -sf xenstore-compat/xs.h $(DESTDIR)$(INCLUDEDIR)/xs.h ln -sf xenstore-compat/xs_lib.h $(DESTDIR)$(INCLUDEDIR)/xs_lib.h +.PHONY: clients-install +clients-install: clients + $(INSTALL_DIR) $(DESTDIR)$(BINDIR) + $(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR) + set -e ; for c in $(CLIENTS) ; do \ + ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \ + done + -include $(DEPS) # never delete any intermediate files. -- 2.30.2